package cn.sightsnow.zh.repository;

import cn.sightsnow.zh.entity.Route;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.Query;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;


public interface RouteRepository extends MongoRepository<Route, String> {
    List<Route> findByStatus(Integer status);
}



